2
Contents
Introduction
Structure of the Distribution Directory
Installing p4
Installing the p4 System
Installing the Documentation
Examples included with the Distribution
Getting Started
A Message-Passing Example
Program Description
Analysis of the Program
Specifying Processes in the Procgroup File
Developing a Simple p4 Program
A Minimal Example
A More Complicated Example
Command-Line Arguments
The p4 Function Library
Overview of the Library
Return Codes from p4 Functions
p4 Functions for Managing Processes and Clusters
Functions for Process Management
Functions for Cluster Management
Functions for Message Passing
Explicit Sending and Receiving of Messages
Global Operations
Functions for Shared Memory
Managing Shared and Local Memory
Shared Memory Data Types
Monitor-Building Primitives
Some Useful Monitors
Functions for Timing p4 Programs
Functions for Debugging p4 Programs
Miscellaneous Functions
Fortran Interface
Faster Startup with the Secure Server
Utilities for Managing a p4 Session
Creating Logfiles for Upshot
User-Specified Events
Examining Log Files with Upshot
Automatic Logging of p4 Events
Machine-Specific Notes
Some Common Problems and their Solutions
Concept Index
Index
Function Index
References